/*
 * @Description  : 收藏
 * @Author       : zhao
 * @Date         : 2022-07-22 15:24:16
 * @LastEditors  : zhao
 * @LastEditTime : 2022-07-23 08:50:57
 */
import request from '@/utils/request'

// BS添加收藏记录
export function AddCollectRecord(data) {
    return request({
        url: '/CollectRecord/AddCollectRecord',
        method: 'post',
        data: data
    })
}
// 查询收藏记录
export function GetBrowsingRecord(data) {
    return request({
        url: '/CollectRecord/GetBrowsingRecord',
        method: 'get',
        params: data
    })
}
// BS清空收藏记录
export function DeleteCollectRecordAll(data) {
    return request({
        url: '/CollectRecord/DeleteCollectRecordAll',
        method: 'post',
        data: data
    })
}
// BS删除收藏记录
export function DeleteCollectRecord(data) {
    return request({
        url: '/CollectRecord/DeleteCollectRecord',
        method: 'post',
        data: data
    })
}